From 6d38ce94ae8baf31d677fef988f727e848c7a003 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Mon, 3 Mar 2008 10:59:03 +0000 Subject: [PATCH] kexec: Remove xen/common/compat/kexec.c xen/common/compat/kexec.c and and the resulting two-pass build of xen/common/kexec.c is no longer needed. Signed-off-by: Simon Horman --- xen/common/Makefile | 1 - xen/common/kexec.c | 8 -------- 2 files changed, 9 deletions(-) diff --git a/xen/common/Makefile b/xen/common/Makefile index 631ac384bd..e190a55014 100644 --- a/xen/common/Makefile +++ b/xen/common/Makefile @@ -48,7 +48,6 @@ version.o: $(BASEDIR)/include/xen/compile.h ifeq ($(CONFIG_COMPAT),y) # extra dependencies grant_table.o: compat/grant_table.c -kexec.o: compat/kexec.c schedule.o: compat/schedule.c xenoprof.o: compat/xenoprof.c endif diff --git a/xen/common/kexec.c b/xen/common/kexec.c index ccb5363b53..02f633d660 100644 --- a/xen/common/kexec.c +++ b/xen/common/kexec.c @@ -27,8 +27,6 @@ #include #endif -#ifndef COMPAT - static DEFINE_PER_CPU(void *, crash_notes); static Elf_Note *xen_crash_note; @@ -455,12 +453,6 @@ int compat_kexec_op(unsigned long op, XEN_GUEST_HANDLE(void) uarg) } #endif -#endif /* COMPAT */ - -#if defined(CONFIG_COMPAT) && !defined(COMPAT) -#include "compat/kexec.c" -#endif - /* * Local variables: * mode: C -- 2.30.2